﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="get_city.aspx.cs" Inherits="SQT.tracnghiem.Ajax.ASP.Staff.get_city" %>
<%@ Import Namespace="DataAccess" %>
<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<body>
   <%int id = int.Parse(Request.QueryString["id"]);
     var get_city = new TblCityController().FetchAll().Where(x => x.ProvinceId == id);
     foreach(TblCity city in get_city)
     {
      %>
    <option value="<%=city.Id %>"><%=city.CityName %></option>
    <%} %>
</body>
</html>
